<!-- 会员中心的菜单 -->
<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
    <li class="layui-nav-item {$setup == 0?'layui-this':''}">
      <a href="{:url('home/user/index',['setup'=>0])}">
        <i class="layui-icon">&#xe609;</i>
        我的主页
      </a>
    </li>
    <li class="layui-nav-item {$setup == 1?'layui-this':''}">
      <a href="{:url('home/user/user',['setup'=>1])}">
        <i class="layui-icon">&#xe620;</i>
        基本设置
      </a>
    </li>
    <li class="layui-nav-item {$setup == 2?'layui-this':''}">
      <!-- <a href="{:url('home/post/index')}"> -->
      <a href="{:url('home/post/index',['setup'=>2])}">

        <i class="layui-icon">&#xe611;</i>
        我的帖子
      </a>
    </li>
    <li class="layui-nav-item {$setup == 3?'layui-this':''}">
      <a href="{:url('home/post/collect',['setup'=>3])}">
        <i class="layui-icon">&#xe611;</i>
        我的收藏
      </a>
    </li>
    <li class="layui-nav-item {$setup == 4?'layui-this':''}">
      <a href="{:url('home/post/comment',['setup'=>4])}">
        <i class="layui-icon">&#xe611;</i>
        我的评论
      </a>
    </li>
    <li class="layui-nav-item {$setup == 5?'layui-this':''}">
      <a href="{:url('home/post/record',['setup'=>5])}">
        <i class="layui-icon">&#xe611;</i>
        积分消费记录
      </a>
    </li>
</ul>